define([
    'jquery',
    'underscore',
    'backbone',
    //'text!templates/form/form_add_admin.html'
    ], function($, _, Backbone,loginTemplate){
        var $html_loadding = '<div class="caculation-report"><img style="margin-left:170px" src="'+$template_admincp_url+'img/standard/loaders/loading64.gif"/></div>';
        var fileManagerView = Backbone.View.extend({
            el: $("#main"),
            initialize: function(){
                
            },
            events: {
                
            },
            
            index: function(){
               //------------- Elfinder file manager  -------------//
                var elf = $('#elfinder').elfinder({
                    // lang: 'ru',             // language (OPTIONAL)
                    url : $base_url+'public/scripts/elfinder/php/connector.minimal.php'  // connector URL (REQUIRED)
                }).elfinder('instance');
            },
            
            render: function(){
                if(typeof this[$app.action] != 'undefined'){
                    new this[$app.action];
                }
            }
        });
        return fileManagerView = new fileManagerView;
    });
